#include"DoubleLinkvoid.h"

void ShowData(void *data)
{
    char *p= (char*)data;
    std::cout<<p<<" ";
}

void Free(DoubleLinkList::ElementType element)
{
    int *p = (int *)element;
    delete[] p;
}

int main()
{
    DoubleLinkList D;
    char p[]="Hello";
    D.InsertTail(p);
    D.SetShowPtr(ShowData);
    D.show();

    return 0;
}